public class Fibonacci01
{
public static void main(String[] args)
{
int a,b,i;
a=0;
b=1;
System.out.print(" "+a+" "+b);
for(i=2;i<=7;i++)
{
a+=b;
b+=a;
System.out.print(" "+a+" "+b);
}
a+=b;
System.out.print(" "+a);
}
}